import type { MockMenuItem } from './type'

export const menus: MockMenuItem[] = [
  {
    id: '02',
    parentId: '',
    path: '/system',
    component: 'Layout',
    redirect: 'noRedirect',
    type: 1,
    title: 'system',
    svgIcon: 'menu-table',
    icon: '',
    keepAlive: false,
    hidden: false,
    sort: 2,
    activeMenu: '',
    breadcrumb: true,
    children: [
      {
        id: '0201',
        parentId: '0',
        path: '/system/user',
        component: 'system/user/index',
        redirect: '',
        type: 2,
        title: 'userControl',
        svgIcon: '',
        icon: 'icon-user',
        keepAlive: false,
        hidden: false,
        sort: 1,
        activeMenu: '',
        breadcrumb: true,
        status: 1,
        roles: ['role_admin', 'role_user'],
        permission: '',
        showInTabs: true,
        alwaysShow: false,
        affix: false,
      },

      {
        id: '0202',
        parentId: '0',
        path: '/system/role',
        component: 'system/role/index',
        redirect: '',
        type: 2,
        title: 'roleControl',
        svgIcon: '',
        icon: 'icon-common',
        keepAlive: false,
        hidden: false,
        sort: 2,
        activeMenu: '',
        breadcrumb: true,
        status: 1,
        roles: ['role_admin', 'role_user'],
        permission: '',
        showInTabs: true,
        alwaysShow: false,
        affix: false,
      },
      {
        id: '0202',
        parentId: '0',
        path: '/system/dept',
        component: 'system/dept/index',
        redirect: '',
        type: 2,
        title: 'deptManage',
        svgIcon: '',
        icon: 'icon-computer',
        keepAlive: false,
        hidden: false,
        sort: 3,
        activeMenu: '',
        breadcrumb: true,
        status: 1,
        roles: ['role_admin', 'role_user'],
        permission: '',
        showInTabs: true,
        alwaysShow: false,
        affix: false,
      },
      {
        id: '0203',
        parentId: '0',
        path: '/system/menu',
        component: 'system/menu/index',
        redirect: '',
        type: 2,
        title: 'menuManage',
        svgIcon: '',
        icon: 'icon-unordered-list',
        keepAlive: false,
        hidden: false,
        sort: 4,
        activeMenu: '',
        breadcrumb: true,
        status: 1,
        roles: ['role_admin', 'role_user'],
        permission: '',
        showInTabs: true,
        alwaysShow: false,
        affix: false,
      },
    ],
    status: 1,
    roles: ['role_admin', 'role_user'],
    permission: '',
    showInTabs: true,
    alwaysShow: false,
  },
  {
    id: '03',
    parentId: '',
    path: '/multilevel',
    component: 'Layout',
    redirect: '/multilevel/index',
    type: 1,
    title: 'personalCenter',
    svgIcon: 'menu-table',
    icon: '',
    keepAlive: false,
    hidden: true,
    sort: 4,
    activeMenu: '',
    breadcrumb: true,
    status: 1,
    roles: ['role_admin', 'role_user'],
    permission: '',
    showInTabs: false,
    alwaysShow: false,
    affix: false,
    children: [
      {
        id: '0301',
        parentId: '03',
        path: '/multilevel/index',
        component: 'multilevel/index',
        redirect: '',
        type: 2,
        title: 'profile',
        svgIcon: '',
        icon: 'icon-list',
        keepAlive: false,
        hidden: true,
        sort: 0,
        activeMenu: '',
        breadcrumb: false,
        status: 1,
        roles: ['role_admin', 'role_user'],
        permission: '',
        showInTabs: false,
        alwaysShow: false,
        affix: false,
      },
    ],
  },
]
